package it.crosato.stage.server.model.retriever;

import static org.junit.Assert.assertTrue;
import it.crosato.stage.shared.exceptions.RetrievingException;
import it.crosato.stage.shared.objects.EntityDefinition;

import java.util.Vector;

import org.junit.After;
import org.junit.Before;
import org.junit.Test;


public class PathwaysListRetrieverTest {

	@Test
	public void testGetOrganismsList() {
		Vector<EntityDefinition> pathways = null;
		try {
			pathways = new OrganismsListRetriever().getOrganismsList(604800000);
		}
		catch (RetrievingException e) {	}
		assertTrue(pathways != null && pathways.size() > 0);
	}
	
	@Before
	public void setUp() {
		
	}
	
	@After
	public void tearDown() {
		
	}
}
